var assert = require('assert');
var should = require('should');
var util = require('util');
var zlib = require('zlib');
var _ = require('lodash');
var atkData = require('../../../app/libs/war/atkData');
var config = require('../../config');
var dataApi = require('../../../app/libs/dataApi');

suite('测试atkData', function () {
    // suite('getData', function () {
    //     test('获取攻击方的数据', function (done) {
    //         atkData.getData(config.role_id, function (err, result) {
    //             done();
    //         });
    //     });
    // });

    suite('getDataForArena', function () {
        test('获得竞技场玩家数据', function (done) {
            atkData.getDataForArena(10000, 1, function (err, res) {
                // console.log('soldier_list:', res.soldier_list);
                console.log('soldier_info:', res.soldier_list[0]);
                done();
            });
        });
    });
});
